<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>人员档案管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>
<form method="post">
<table width="600" align="center" class="bordernone">
<tr><td class="bg_blue">姓名：</td><td><input type="text" value="${param.perFileName}" name="perFileName"/>
<td class="bg_blue">执法证号：</td>
<td><input type="text" value="${param.perFileEnfoceCardNum}" name="perFileEnfoceCardNum"/></td>
</tr>
<tr><td class="bg_blue">职务：</td>
  <td><input type="text" value="${param.perFileDuty}" name=""/>
  <td class="bg_blue">监察证号：</td><td><input type="text" value="${param.perFileSupCardNum}" name="perFileSupCardNum"/></td>
</tr>
<tr><td class="nohover" colspan="4" align="center"><input class="buttonsearch" type="submit" value="查询" name=""/>&nbsp;    <input class="buttonreset" type="reset" value="重置" name=""/></td></tr>
</table>
</form>
<table width="100%" border="1">
<tr>
    <td class="nohover" colspan="4"><input class="buttonadd" type="button" value="增加" onClick="javascript:window.location.href='PersionFile.do?method=toAdd'"></td>
 </tr>
  <tr>
    <th width="20%">姓名</th>
	<th width="15%">籍贯</th>
    <th width="20%">职务</th>
    <th width="45%">操作</th>
  </tr>
   <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td><a href="PersionFile.do?method=detail&pid=${prod.perFileId}">${prod.perFileName}</a></td>
	<td>${prod.perFileNativePlace}</td>
    <td>${prod.perFileDuty}</td>
    <td><input class="buttonmodify" type="button" value="修改" name="" onClick="javascript:window.location.href='<%=request.getContextPath()%>/PersionFile.do?method=toUpdate&pid=${prod.perFileId }&page=${intPage}'"/> 
    <input class="buttondelete" type="button" onClick="javascript:if(confirm('确定删除该数据吗？')){window.location.href='<%=request.getContextPath()%>/PersionFile.do?method=delete&pid=${prod.perFileId}&page=${intPage }'}" value="删除"  />
    <input class="buttonsharepower" type="button" value="考核打分" name="" onClick="javascript:window.location.href='<%=request.getContextPath()%>/PersionFile.do?method=toCheckScore&pid=${prod.perFileId}'"/>
</td>
  </tr>
  </c:forEach>
 
  <tr>
    <td class="nohover" colspan="12" align="center">&nbsp;
    <form name="pageForm" method="post" action="<%=request.getContextPath()%>/PersionFile.do?method=list">
    <input type="hidden" name="perFileName" value="${param.perFileName}"/>
    <input type="hidden" name="perFileEnfoceCardNum" value="${param.perFileEnfoceCardNum}"/>
    <input type="hidden" name="perFileDuty" value="${param.perFileDuty}"/>
    <input type="hidden" name="perFileSupCardNum" value="${param.perFileSupCardNum}"/>
    <c:out value="${foot}" escapeXml="false"/>
    </form>
    </td>
  </tr>
  
</table>
</body>
</html>
